import 'dart:convert';

import 'package:hotpot/generated/json/account_move.g.dart';
import 'package:hotpot/generated/json/base/json_field.dart';

@JsonSerializable()
class AccountMove {

	int? id;
  @JSONField(name: 'create_date')
  String? createDate;
  @JSONField(name: 'invoice_date_due')
  String? invoiceDateDue;
  String? name;
  String? state;
  @JSONField(name: 'payment_state')
  String? paymentState;
  @JSONField(name: 'amount_total')
  String? amountTotal;
  
  AccountMove();

  factory AccountMove.fromJson(Map<String, dynamic> json) => $AccountMoveFromJson(json);

  Map<String, dynamic> toJson() => $AccountMoveToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}